package cn.anstone.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.anstone.mapper.RoleMapper;
import cn.anstone.pojo.Role;

/**
 * @author J.L.Lee
 * @date  Aug 15, 2017
 */
@Service
public class RoleService {

	@Autowired
	RoleMapper roleMapper;
	
	public List<Role> getAllRole() {
		
		return roleMapper.selectByExample(null);
	}

}
